package com.donn.securitycontrolplatform.db1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.donn.securitycontrolplatform.hisalarm.entity.THisAlarm;
import com.donn.securitycontrolplatform.hisalarm.entity.dto.HisAlarmDTO;
import com.donn.securitycontrolplatform.hisalarm.entity.dto.HisAlarmMonth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-26
 */
public interface THisAlarmMapper extends BaseMapper<THisAlarm> {

    IPage<THisAlarm> getPage(Page<THisAlarm> page);

    List<HisAlarmMonth> getYearData();

    List<HisAlarmMonth> getDayData();

    List<HisAlarmMonth> getYearDataByViolation();
}
